const void* memchr(const void* ptr, int value, int num);
int memcmp(const void* ptr1, const void* ptr2, int num);
void memset(unsigned char* dest, unsigned char val, unsigned int len);

// Copy the NULL-terminated string src into dest up to num, and return dest.
char* strncpy(char* dest, const char* src, unsigned int num);
